// IStudentService.aidl
package com.jlnk.aidl_service;
import com.jlnk.aidl_service.Student;
import com.jlnk.aidl_service.IStudentChangeListener;

interface IStudentService {
    void addListener(IStudentChangeListener listener);
    void addStudent(inout Student student);
    void deleteStudent(int id);
    List<Student> getStudentList();
    int getStudentCount();
    Student selectStudent(int id); // 新增的方法
}